{% include 'parts/header.html' %}
<main class="container">
  <h1>{{ post.title }}</h1>
  <div class="card mycard">
    <div class="card-body">
      <h5 class="card-title">
          By <a href="{{ url_for('get_author', author_id=user.id) }}">{{ user.username }}</a>
      </h5>
      <p class="card-text">{{ post.body }}</p>
    </div>
    {% if audio %}
    <div>
        <audio controls src="{{ audio }}">
            <a href="{{ audio }}"> Download audio</a>
        </audio>
    </div>
    {% endif %}
  </div>
</main>
{% include 'parts/footer.html' %}
